package com.ljs.accountclient.feign;

import com.ljs.accountclient.Vo.AccountVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
@FeignClient(value = "accountprovider",fallback = AccountErro.class)
public interface AccountFeign {
    @GetMapping("/selall")
    public List<AccountVo> sel();
}
